package com.oneonefive.educationsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oneonefive.educationsystem.domain.Student;
import com.oneonefive.educationsystem.dto.Result;
import com.oneonefive.educationsystem.vo.StudentVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface StudentService extends IService<Student> {

    Result stuList(StudentVo userVo);

    Result legitimacy(Student student);

    Result stuSave(Student student);

    Result stuUpdate(Student student);

    Result stuDelete(Integer studentId);

    Result clazzList();

    Result uploadExcel(MultipartFile file) throws IOException;

    Result saveOne(Student student);
}
